import request from "@/utils/request";
export default {
  starCourse(courseId) {
    return request({
      url: `/front/stu/collect/star/${courseId}`,
      method: "post"
    });
  },
  undoStar(courseId) {
    return request({
      url: `/front/stu/collect/undoStar/${courseId}`,
      method: "post"
    });
  }
}
